package com.isecommerce.framework.entity;

/**
 * Database Info Entity
 *
 *
 * @version 1.2.5
 * @author Leslie, Chen
 */

public class DBInfo {

    /**
     * Alias Name
     */
    public String dbname;

    /**
     * JDBC Driver
     */
    public String driver;

    /**
     * Connection URL
     */
    public String url;

    /**
     * User Account
     */
    public String user;

    /**
     * User Password
     */
    public String password;

    /**
     * Default constructor.
     *
     * @param dbname Given alias name.
     * @param driver Given JDBC driver.
     * @param url Given connection URL.
     * @param user Given user account.
     * @param password Given user password.
     */
    public DBInfo(String dbname, String driver, String url, String user, String password) {
        this.dbname = dbname;
        this.driver = driver;
        this.url = url;
        this.user = user;
        this.password = password;
    }
}